package com.ruoyi.price.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工程公式控件关联信息对象 tb_project_formula_widget
 * 
 * @author ruoyi
 * @date 2023-04-30
 */
public class TbProjectFormulaWidget extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 公式id */
    @Excel(name = "公式id")
    private Long formulaId;

    /** 控件id */
    @Excel(name = "控件id")
    private Long widgetId;

    /** 工程id */
    @Excel(name = "工程id")
    private Long projectId;

    /** 控件值 */
    @Excel(name = "控件值")
    private String widgetValue;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFormulaId(Long formulaId) 
    {
        this.formulaId = formulaId;
    }

    public Long getFormulaId() 
    {
        return formulaId;
    }

    public Long getWidgetId() {
        return widgetId;
    }

    public void setWidgetId(Long widgetId) {
        this.widgetId = widgetId;
    }

    public void setProjectId(Long projectId)
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setWidgetValue(String widgetValue) 
    {
        this.widgetValue = widgetValue;
    }

    public String getWidgetValue() 
    {
        return widgetValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("formulaId", getFormulaId())
            .append("widgetId", getWidgetId())
            .append("projectId", getProjectId())
            .append("widgetValue", getWidgetValue())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
